// dllmain.cpp : Implementation of DllMain.

#include "stdafx.h"
#include "resource.h"
#include "SilkTestLib_i.h"
#include "dllmain.h"
#include "jniEnvironment.h"

CSilkTestLibModule _AtlModule;

// DLL Entry Point
extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
	hInstance;
	return _AtlModule.DllMain(dwReason, lpReserved); 
  if (dwReason == DLL_PROCESS_DETACH)
  {
    // won't be called when used in wsh
    UnloadJvm();
  }
}
